home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Joystick Magazine 2000 November
/
cd joystick no120 novembre 2000 cd 1.iso
/
data
/
demos
/
gunlok
/
data1.cab
/
Program_Executable_Files
/
scripts
/
shouldercrab.gsh
< prev
next >
Wrap
Text File
|
2000-08-22
|
2KB
|
53 lines
// defines SHouldercrab
////////////////////////////////////////////////////////////////////////////////////
// start wrapper - prevent multiple inclusions or recursive inclusions
//(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
#ifndef INCLUDED_SHOULDERCRAB_GSH
#define INCLUDED_SHOULDERCRAB_GSH
////////////////////////////////////////////////////////////////////////////////////
#include "defaults.gsh"
#include "lasers.gsh"
hierarchy Hcy_Shouldercrab
{
file "units\Shouldercrab.RIF"
name "Shouldercrab"
hotspot "dum flash"
alternate hotspot "dum flash L"
}
character Chr_Shouldercrab : Chr_DefaultBaddie
{
turning speed 0.3 // this is in revolutions per second
walking speed 1.0 // this is in animation cycles per second
weapon enemy laser
strength 5 // initial strength points
aim 1 // how many degrees off target he can be at most
sight angle 80 // in degrees
sight range 8 // in metres
hearing range 20 // in metres
aggression 0.9 // from 0 to 1
gun yaw angle 0 // in degrees
description drone description
}
role Rol_Shouldercrab : Rol_DefaultRobot
{
shape Hcy_Shouldercrab
character Chr_Shouldercrab
identifier "Shouldercrab"
ai bot
}
////////////////////////////////////////////////////////////////////////////////////
// end wrapper - for preventing multiple or recursive inclusions
#endif // !INCLUDED_SHOULDERCRAB_GSH